package com.dkm.ec.product.persistence.dao;
import java.util.List;

import com.dkm.base.db.persistence.dao.IQueryDao;
import com.dkm.ec.product.persistence.entity.ProductMediaPo;

/**
 * 对象功能:产品媒体 QueryDao接口
 * 开发公司:SKG.COM
 * 开发人员:颜超敏
 * 创建时间:2014-12-17 17:21:14
 */
public interface ProductMediaQueryDao extends IQueryDao<String, ProductMediaPo> {
	public List<ProductMediaPo> findByProdId(String prodId);	
	public ProductMediaPo getMainMediaPoByProdId(String prodId);
	public ProductMediaPo getMainMediaPoByProdIdAttrOpId(String prodId,String attrOpId) ;
	public ProductMediaPo getSpecialMediaPoByProdId(String prodId);
	public ProductMediaPo getSpecialMediaPoByProdIdAttrOpId(String prodId,String attrOpId) ;
	public List<ProductMediaPo> findByProdIdForSale(String prodId,String isGallery,String mediaType,String attrOpId);
	public List<ProductMediaPo> findSaleByProdId(String prodId);
	public List<ProductMediaPo> findSpecialMediaPoByProdIdAttrOpId(String prodId,String attrOpId);
	public List<ProductMediaPo> findSpecialMediaPoByProdId(String prodId);
	
}
